package cn.edu.hnu.matching.model.dto;

import cn.edu.hnu.matching.constants.ValidationConstants;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.io.Serializable;

/**
 * 用户修改头像数据封装
 */
@Data
public class UserModifyAvatarDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @URL(message = ValidationConstants.URL_MESSAGE)
    private String avatarUrl;
}
